package com.example.sfm.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@Schema(name = "登录视图对象", description = "用于表示用户登录后返回信息的视图对象")
public class LoginVo {
    @Schema(description = "用户登录后生成的令牌")
    private String token;
    @Schema(description = "用户的角色")
    private Integer role;
}